package com.tnr.scgcxx.service.info.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tnr.scgcxx.dao.info.CustomerDao;
import com.tnr.scgcxx.model.Customer;
import com.tnr.scgcxx.service.info.CustomerService;
@Service
public class CustomerServiceImpl implements CustomerService {
    
	@Autowired
	private CustomerDao customerDao;
	
	@Override
	public List<Customer> getAllCustomers() {
		
		return customerDao.findAllCustomers();
	}

}
